home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
326-350
/
disk_339
/
pcq
/
include
/
crt.i
< prev
next >
Wrap
Text File
|
1992-05-06
|
624b
|
27 lines
{
CRT.i
These routines are a simple attempt to mimic the Turbo Pascal
CRT routines. See ConsoleTest.p for an example of using these.
Note that ConsoleSetPtr, the actual type returned by
AttachConsole, is not defined here. I wanted to implement it as sort
of an opaque type.
}
{$I "Include/Intuition.i"}
Function AttachConsole(w : WindowPtr) : Address;
External;
Function ReadKey(con : Address) : Char;
External;
Function KeyPressed(con : Address) : Boolean;
External;
Procedure WriteString(con : Address; Str : String);
External;
Procedure DetachConsole(con : Address);
External;